package com.stu.common.threadlocal;

public class OpenFlagThreadLocal {

    static ThreadLocal<Integer> openFlagThreadLocal = new ThreadLocal<>();

    public static void put(Integer isFlag) {
        openFlagThreadLocal.set(isFlag);
    }

    public static Integer get() {
        return openFlagThreadLocal.get();
    }

    public static void remove() {
        openFlagThreadLocal.remove();
    }
}
